<?php

namespace app\shop\model\user;

use app\common\model\BaseModel;

/**
 * 用户余额变动明细模型
 */
class RegisterInfo extends BaseModel
{
    public function get_count()
    {
        return $this->alias('r')->join('jjjshop_user u','r.user_id=u.user_id')->where(array('r.status'=>0,'u.is_delete'=>0,'u.classify'=>1))->count();
    }
}